<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
   <script>
       var s=Math.floor(Math.random()*(100000-10000)+10000)
       console.log(s);
       var w=Math.floor(s/10000);
       console.log(w);
       var q=Math.floor(s%10000/1000)
       console.log(q);
       var ge=Math.floor(s%10)
       console.log(ge);
     
      /*  var s=368000
      var tian=Math.floor(s/(24*3600))
      console.log(tian);
      var shi=Math.floor(s%(24*3600)/3600)
      console.log(shi);
      var fen=Math.floor(s%3600/60)
      console.log(fen);
      var mia=Math.floor(s%60)
      console.log(mia); */
   </script>
</body>
</html>